package com.xnyzc.lhy.mis.service.punishment;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.param.punishment.DriverPenaltyTmpResult;
import com.xnyzc.lhy.mis.entity.param.punishment.OaDUserPenaltyParam;
import com.xnyzc.lhy.mis.entity.param.punishment.OaDUserPenaltyQueryParam;
import com.xnyzc.lhy.mis.entity.punishment.OaDUserPenalty;

import java.util.List;

/**
 * <p>
 * 司机处罚表  服务类
 * </p>
 *
 * @author cuichaoqun
 * @since 2019-10-27
 */
public interface IOaDUserPenaltyService extends IService<OaDUserPenalty> {

    /**
     * 查询司机是否处罚字典
     * */
    public Rv slectIsPenalty();

    /**
     * 添加司机处罚信息
     * */
    public Rv insertoaDUserPenalty(List<OaDUserPenaltyParam> oaDUserPenaltyParamList);

    /**
     * 查询司机处罚列表
     *
     * */
    public Rv queryDriverPenaltyList(OaDUserPenaltyQueryParam oaDUserPenaltyQueryParam);

    /**
     * 获取司机处罚模板和司机违规模板id
     * @return
     */
    public DriverPenaltyTmpResult getDriverPenaltyTmpId();

}
